home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0497 / AMOSLIST / 000179_amos-request@svcs1.digex.net_Mon Apr 21 22:44:39 1997.msg < prev    next >
Text File  |  1998-06-24  |  2KB  |  47 lines

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail3.access.digex.net (8.8.5/8.8.5) with ESMTP id WAA24721
  3.     for <mcox@access.digex.net>; Mon, 21 Apr 1997 22:44:38 -0400 (EDT)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id VAA09131
  6.     for amos-out; Mon, 21 Apr 1997 21:14:09 -0400 (EDT)
  7. Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id VAA09128
  9.     for <amos-list@svcs1.digex.net>; Mon, 21 Apr 1997 21:14:09 -0400 (EDT)
  10. Received: from mhv.net (root@spice.mhv.net [199.0.0.21])
  11.     by mail1.access.digex.net (8.8.5/8.8.5) with ESMTP id VAA26258
  12.     for <amos-list@access.digex.net>; Mon, 21 Apr 1997 21:14:07 -0400 (EDT)
  13. Received: from mike ([205.161.119.194]) by mhv.net (8.8.5/8.7.3) with SMTP id VAA13410 for <amos-list@access.digex.net>; Mon, 21 Apr 1997 21:13:59 -0400
  14. Message-ID: <335C10DB.7DB8@mhv.net>
  15. Date: Mon, 21 Apr 1997 21:14:03 -0400
  16. From: Michael Drummond <miked@mhv.net>
  17. X-Mailer: Mozilla 3.0 (Win95; U)
  18. MIME-Version: 1.0
  19. To: amos-list@access.digex.net
  20. Subject: Printing to file
  21. Content-Type: text/plain; charset=us-ascii
  22. Content-Transfer-Encoding: 7bit
  23. Status: RO
  24. X-Status: 
  25.  
  26. >
  27. >What I want to do is use AmosPro to create a file in Ram called Datapath
  28. >and then execute it with Amiga dos.
  29. >If you look at the example below it should create a file called Datapath
  30. >containing "CD workbench:data".
  31. >
  32. >a$="workbench:data"
  33. >C$="CD "
  34. >A$=C$+A$
  35. >Open Out 3,"Ram:Datapath"
  36. >Print #3,A$
  37. >Print #3,Chr$(13)
  38. >Close 3
  39.  
  40. If you write your info to a bank and Bsave from it you eliminate the
  41. extra characters.  But in this case, how about quick & dirty with the
  42. CLI echo command?
  43.  
  44. A$="CD workbench:data"
  45. exec "echo "+A$+" >ram:Datapath"  :Rem Keep those spaces
  46.  
  47. Mike